package com.cxyd.modules.sys.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 修改密码
 */
@Data
public class PasswordDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotBlank(message="{sysuser.password.require}")
    private String password;

    @NotBlank(message="{sysuser.password.require}")
    private String newPassword;

}